Alternative operator representations
From Cppreference
There are alternative spellings for several operators defined as keywords in the C++ standard.
| Primary | Alternative |
|---|---|
| && | and |
| &= | and_eq |
| & | bitand |
| | | bitor |
| ~ | compl |
| ! | not |
| != | not_eq |
| || | or |
| |= | or_eq |
| ^ | xor |
| ^= | xor_eq |
[edit] Keywords
and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, xor_eq